package com.dsg.entity.apply;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 對單記錄
 * </p>
 *
 * @author system
 * @since 2020-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_apply_check")
@ApiModel(value="DsgApplyCheck对象", description="對單記錄")
public class DsgApplyCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "卡主键")
    @TableField("CARD_ID")
    private String cardId;

    @ApiModelProperty(value = "申請單號")
    @TableField("APP_NO")
    private String appNo;

    @ApiModelProperty(value = "對單日期")
    @TableField("CHECK_TIME")
    private Date checkTime;

    @ApiModelProperty(value = "處理人")
    @TableField("CHECKER")
    private String checker;

    @ApiModelProperty(value = "處理結果")
    @TableField("CHECK_RESULT")
    private Integer checkResult;

    @ApiModelProperty(value = "備註")
    @TableField("CHECK_REMARKS")
    private String checkRemarks;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**完成*/
    public static final int CHECK_RESULT_DONE = 1;
    /**取消*/
    public static final int CHECK_RESULT_CANCEL = 2;
    /**待跟進*/
    public static final int CHECK_RESULT_TODO = 3;
}
